<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>jQuery使用</title>
		<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
		<script>
			function showImg(){
				$("#myimage").show();}
			function hideImg(){
				$("#myimage").hide();
			}
		</script>
	</head>
	<body>
		<img id="myimage" src="img/1572408355999.jpeg" /><br />
		<button onclick="showImg()">显示图片</button>
		<button onclick="hideImg()">隐藏图片</button>
	</body>
</html>
